add comments to plugin.js