[fixed #365] Used new implementation for new Image

Replaced new Image() with document.createElement("img")
Merge pull request #366 from greysonp/master

[fixed #365] Used new implementation for new Image