Enable JSHint's unused rule and remove the unused variables.