var AudioPlayer = function(controls) { this.playing = null; this.collection = null; var that = this; _(this).bindAll("playSong", "nextSong", "prevSong", "stopSong", "playPauseSong", "seekSong", "setNowPlaying"); this.$playPause = controls.find(".play-pause").click(this.playPauseSong); this.$stop = controls.find(".stop").click(this.stopSong); this.$progress = controls.find(".bar"); this.$progressContainer = controls.find(".progress"); this.$prev = controls.find(".prev").click(this.prevSong); this.$next = controls.find(".next").click(this.nextSong); this.$nowPlaying = controls.find(".current-track"); this.$audio = $("