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

This seems a chrome bug, solved by replacing "new Image()" with "document.createElement('img')".

Tested on Chrome 27.0.1453.94, Windows 7 Professional

note: second commit updates the change also for camera.min.js, I've accidentaly commited before writing the message, now I can't use a git client to correct.