Resolve lint flags

- Add missing semicolon
- Remove trailing whitespace
- Use `!==` to compare with `null`
- Remove unnecessary initialization with `undefined`
- Remove unnecessary semicolon
Fixed with third.