fix in the demo.js
Merge branch 'master' into gh-pages