Update wsc-test.js

button memory bug