Fixed a Firefox compatibility issue

Browser compatibility test was failing on Firefox because the testing method was returning false.
Merge pull request #4 from liquid1982/patch-1

Fixed a Firefox compatibility issue