minor plugins.js fix