Stricter & faster type comparisons

Main Changes:

replaced
-  `!=` with `!==`   
-  `==` with `===`  

for following logical comparisons

- string type comparisons
- `indexOf` against `-1` 
- when checking `.length` against actual integer values
- when checking `.nodeType` against an actual integer value