Simplify variable assignments for _.some