Looking in the debugger for your second link, I see these errors:
findasurname.php:224 Uncaught SyntaxError: Unexpected identifier
bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
at bootstrap.min.js:6
at bootstrap.min.js:6
jsapi_compiled_default_module.js:133 Uncaught (in promise) Error: Container is not defined
at gvjs_Jk (jsapi_compiled_default_module.js:133)
at gvjs_WM.gvjs_dz [as constructor] (jsapi_compiled_ui_module.js:138)
at new gvjs_WM (jsapi_compiled_ui_module.js:1234)
at drawMarkersMap (findasurname.php?surname=Kilpatrick:118)
For the first link, the errors are a little different:
Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
at bootstrap.min.js:6
at bootstrap.min.js:6
jsapi_compiled_default_module.js:133 Uncaught (in promise) Error: Container is not defined
at gvjs_Jk (jsapi_compiled_default_module.js:133)
at gvjs_WM.gvjs_dz [as constructor] (jsapi_compiled_ui_module.js:138)
at new gvjs_WM (jsapi_compiled_ui_module.js:1234)
at drawMarkersMap (findasurname.php?surname=Gilbride:110)
That might be a clue for you, but I didn't look further in your code.
However, in both cases, you are loading both the jsapi loader and the new loader, which was required for a while, but no longer if you use the 'current' version, which it appears you are. We are now starting to redirect the jsapi loader to the new loader, which could result in problems for GeoChart users if I didn't work out all the possible ways this might happen. So it is best to just drop your loading of jsapi, and use the 'current' version if you can.