Create img tag via JS

If there exists an image-tag without src it's shown as broken image. This should
not happen.
Merge pull request #250 from Ben-Ho/3.7-js-add-img

Create img tag via JS