Added js examples for plugins