Make wms-capabilities example work when hosted
Add exports for the canvas export feature
IE9 supports addEventListener (thanks @fredj)