Moved creation of channelIDCache to channel.js