moves plugins.js to top level