Update the JS Binding code of plugin.