Use img tag to convert relative url to absolute fixes #148

(also don't use Array.forEach because it's unexistent in IE < 9)