Update demo.html and latest.js

Fixed some little details