Remove unused variables and enable related JSHint warning.