added missing colon, === when comparing with null
Merge pull request #1 from creativityhurts/master

small cleanup