Update demo.html

Now using true length instead of magic constant.