Added commenting and minified JS