Ruler works on submit page completely, also had to update Openlayers.js