Update UI.coffee

Adding documentation to the UI.coffee