Removed unused code from map.js
Removed getinfo.js
Only add layers to the map after promises are fulfiled
Removed betterWMS.js