update index3.html and sample3.js