execute scripts of html, auto fix src & href of elements