Updated web.js
Reading from file
Fixes bug file as string