Improved demo3.html.