modified metro search to pass template parameter; modified mapbox template to make sure map renders properly inside #map div