Comments
Fixed double quotes
Changing all new Image() to createElement('img') due to Chrome 27 bug