updated web.js
Input from index.html