rename two functions in channelUtils and adjust the lossy.js example