Firefox support (fixes #20)