More hacking on jquery to get the map to render properly