make the leaflet map widget into an underlay
fix the IE console shim to be loaded before other code