FIx: Uncaught Error: NotFoundError: DOM Exception 8  on Chrome 27

This seems a chrome bug, solved by replacing "new Image()" with "document.createElement('img')"