updated head.js in apps folder