Revert "use navigator.sendBeacon when available"
Revert "use navigator.sendBeacon when available"

This reverts commit 48b803507ef3b5450615778f94dfb51bf536aa1f.
Fix #10

GoogleCloudPlatform/stackdriver-errors-js,GoogleCloudPlatform/stackdriver-errors-js