issue #61 (better support for firefox)