Use websocket for loading lib