Update ws_validator.js

wrong variable name
Merge pull request #12 from skyhit/patch-2

Update ws_validator.js