Horns survive Jayhawks, 21-17