Move back to JS-based SW registration
Move back to JS-based SW registration

Header based registration was only working briefly in Chrome Canary, and
stopped working in the latest build.

In this iteration of the JS-based registration, we also check for
`ReadableStream` being defined, which currently limits SW installs to
Chrome and derivates.

gwicke/node-serviceworker-proxy