added .js on index