Update ui.js

Unpolluting global space by creating window.ZenPen.