Typo - remove '.' prefix from hasClass call.
Merge pull request #90 from ayust/patch-4

Typo - remove '.' prefix from hasClass call.