added js to index.html