Set ol.ENABLE_DOM and ENABLE_WEBGL to false