fix browser version validation code for firefox
Merge pull request #2 from waldir/patch-1

fix browser version validation code for firefox