feat(js_plugin): runtime AST bindings for JS plugins (#10954)