updated head.js for slides