Format code style using JSHint
Remove unused variables
Identity operator in, equality operator out, with JSHint 'eqeqeq' rule