split $(event.target).closest('.'+this.selectedClass) into a var, because this line is really long