updates for map, doesn't seem to work with jquery mobile