Added changes for HW 4 for index.html and updated web.js for prinint out results.