moved documentation of the native interface into the js package itself