adjust position of scripts and html,body start end tags