move loader to end of html