Changes for Outsystems 11
Moved the javascript code to js file. this will allow users to us the js file in other projects as well.
Updated the JavaScript to support multiple web socket connections on the same screen.