Update wsRequest.js