changed dom selection method for #map-canvas