finish example for JS interop