fixed demo2.html js