Some changes.

Hi!
I've made three little changes adding some comments and changing one "==" to "===" for a better comparison.

It's just a suggestion :)