Update webshell-node.js

fix def wsh error event