XUI-html: added improved script execution to html method with support for inner, outer, after, before