Example of how to write UI components, using Google Closure Library.