Refactoring OpenLayers styles