Preliminary support for JS bindings