Remove unused function parameters.
Remove unused variables.
Prefer strict equality
Merge pull request #344 from altearius/master

Address UglifyJS2 warnings