fixes for firefox
Merge pull request #7 from radiodario/firefox-fixes

fixes for firefox