move all js to head