Made web.js to orig state