adding a modified version of reconnecting_webSocket.js

Original code from https://github.com/joewalnes/reconnecting-websocket/