turns out removing ujs breaks logout. jquery is finally fixed though!