move js back to head.