Updated web.js
Updated web.js to print from index