updated .js and plugin.xml