Revision 7: JSHint and other cleanup

Google Closure Complier (Simple) Minified version