Improved response code on web.js