Fix failing tests in Opera and Chrome

Fixes #35
Merge pull request #37 from bripkens/failing-tests

Fix failing tests in Opera and Chrome