Tidy up in OpenLayers prototype