fixed issues with the map and the new browsing using Ajax