Check if Openlayers is loaded