Reverted to classic JS method calling
(since it's no longer under closure conversion)
Put more code into ui.js, de-converted from closure conventions
Removed outcommented code