Better JavaScript API. Allow channel managment