adding js file
adding index