moves script tag before styles