go back to loading map data as javascript ;(