add more instances of plugin method usage in js