JavaScript Channels, examples, and tests