use jsocket.js on both client and server