JS backend: support for explicit delegation