Allow OpenStreetMap.js to work with an unpatched OpenLayers