minor update wsRequestHandler.js