fix run-time error

the “plugins.js” is from master.