Map js only going on map page now