Add `/*global  Openlayers: false*/` and then change all `window.Openlayers` back to just `Openlayers`