Fixed coding standards.

Fixed coding standards and replaced many `==` by `===`.