moving js to end of body