Port cilantro/ui level CoffeeScript file to JavaScript

These four could be collapsed into `'click [data-page]': 'requestChangePage'`