Reworked JS to simplify down buildmap call. Changed ajax to return a promise value and then take action on the data. This is setting up the actions to execute in build map as well as to stop passing the map. Consolidated the MapLoad call from resuls page to just layout page and setup a default value for the object passed in case values are missing.