It is API compatible, so when you have:
ws = new WebSocket('ws://....');
you can replace with:
ws = new ReconnectingWebSocket('ws://....');
Minified library with gzip compression is less than 600 bytes.