Support sending over a different channel in dialogue jsbox app

This is the jsbox app part of #1042.