:plain $(".js-branch-#{@branch_name}").remove(); $('.js-totalbranch-count').html("#{@repository.branches.size}")