Fix Uncaught SecurityError when loading img from external URL.

Added crossOrigin attribute to loading of images to fix #12.

[Documentation for CORS images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image) by MDN.