Update rewrite web.js