Fix for IE8, prepend img instead of append