Update web.js

Edited the file to it's 1024 lines long