add autoload.js for plungins