reduced repetition in AudioPlayer.prototype definition