added add.js to index