This is small library that allows you to work with Ajax and WebSocket using the same API