fix small oversight
check if OpenLayers was loaded