Updated head.js