move head.js to head