allow find and replace of img, css, and js tags for prepending

see this for more details

http://stackoverflow.com/a/1273653/80353