Minor code improvements plus supported for images

Now the script can detect img, iframes, inputs and textareas