Locally allow bitwise arithmetic in JSHint settings

JSHint considers bitwise arithmetic to be likely an error:

http://www.jshint.com/docs/options/#bitwise

In this case it isn't, so we need to explicitly allow it. After doing so
JSHint still showed a few minor issues, which this patch fixes as well.