fix minDemo.js