Update the JS bindings for plugin.