modify httpserver.js