Port to Firefox
Merge pull request #22 from malept/firefox-port

Port to Firefox (thanks to @malept)