Build the map using a jQ promise.

Build the tour, once the map is built. This fixes map control selector