Remove duplicated node !== null
Remove unnecessary parentheses
Merge pull request #11 from tkrotoff/cleanup

Small cleanup