Now using ajax to get map data