index.js now to GT standards. JS hint'ed.