Updated web.js
Updated web.js
Fixed error
Improvement on error