Fixed syntax error in head.js