Update demo.html

Add another approach to use auto pagination