add index2.js for presentation