updating the index html and web js for hw4 part 1