Fixed a problem with JS bombing out on pages w/o the map