added head.js snippet