The Castcloud API and js client