Made basemap gallery and geocoder widget more accessible inside main.js