little fixes

beautified, fixed one var, == to ===
Merge pull request #2 from ikeagold/master

Little fixes