updated x2 web.js
edit to web.js