Should work on one line. I think I originally copied this code from some place where the audio element was a property of another object.