Fix FF support, update for new gain syntax
Merge pull request #3 from huntermacd/1-firefox-support-bug

Fix FF support, update for new gain syntax