Export browser global in order to ensure interop with other libs.
Update README.
Test case and fix for #86.