BUG: added explicit 'return' in main-controller to avoid returning DOM node in controller