Began implementing ui javascript
This should only handle direct interaction with the ui. As example simulate a tab view, because it is not available in html(the channels).