improved queue behavior in audio.js