Update WebSocket.js

This change is complement to the previous one. It allows sending binary, by checking if the string contains non-ASCII characters.
(I doubt this is the best solution, but I am very new to JavaScript)