Fixed minor errors.

Added semicolon on line 53, and replaced "!=" with "!=="
Merge pull request #156 from iamdmitrymayorov/master

Fixed minor errors.