combined and minified index JavaScript