Javascript object that proxies several different controller types