Fixing js issues in Firefox
Merge pull request #33 from BruceHubbard/master

Fixing js issues in Firefox