improved processing js bindings