finish js version of audio render