Added basic native ServiceWorker registration.

Also added the JavaScriptCore framework to the plugin.