updated index.html file with javascript code reference