Add missing var in demo.js