add `interpolate_code` and enable it for `__js__` (see #3226)