add miniobj.mini.js for all pages