Fix a few mistakes for Firefox.
AmberDB 1.1.39
Merge pull request #262 from nla/hr-ff-bugs

Fix a few mistakes for Firefox.