add some more JSHint options

Add some options to make JSHint a bit more strict (the code changes
are exclusively removals of unused variables discovered through the
"unused" option).
Merge pull request #6 from yelworc/jshint-config

add some more JSHint options