Updated web.js to read from a file
Fixed typo in web.js