Update audio_output.js

Updated to work on iOS