Correct warnings with JSHint.