fix audio.js if and else