added more functions around cloudjs
Support for websockets