Update jx_server_handler.js

determining of ws/wss protocol is now moved to the client side
Merge pull request #12 from ktrzeciaknubisa/master

Update jx_server_handler.js