1. serviceworker api: support for ecmascript modules

  2. sharedworker api: `sharedworker()` constructor: support for ecmascript modules

  3. worker api: `worker()` constructor: support for ecmascript modules