updated index.html and added javascript files