websocket js module moved to plugin