A lightweight JavaScript library for handling WebSocket connections