edited web.js
edited web.js - functions now