Revert "Fixing syntax errors and typos with http://www.jshint.com/."

This reverts commit 10ed7ec283de96f0c4b43f7356145613c7906a7e.