move js to end of body