Oops, `key` is incorrect right now, should `basedir + "__sweet_js_key__" + id`.

`"__sweet_js_key__"` needed so the following pairs of `basedir` and `id` have different keys

* `/some/path` and `x/y`
* `/some/path/x` and `y`

cause they can resolve to different modules.