function checkUp() { var q = get(), seconds; if (!q.length) { Queue.stop(); return; } Queue.doThisNext(playNext); }