Updated index.html to remove obsolete js and add some type on script tags