plugin to plugins.js