Fixed demo.js