Fix script in demo3.html