document.createElement(img) instead of new Image()