init index page with three.js