moves js to bottom of file