fixed typo in index2.js