Various Chrome fixes

* fixes #2
* fixes #5