Fixing indexing of external Cartographics objects, using leaflet.js for Cartographics map -- but not working because #map-canvas[data] isn't being found (DHH-162)