Revert "Use strict equality when comparing with `null` & added missing semi-colons"

This reverts commit 497bb25387c80182815395994b89a28441af04c8.
Adding missing semicolons
Adding comment to explain why strict equality is not used