Edited DOM in script tag to output iimage url in style css