Remove an unused variable
Use === instead of ==
Beef up JSHint and appease it