Using require.js and channel API.