Slogging through fixing logic to handle ajax new map as well as new map in url.