Josh Allen had 215 yards and two touchdowns through the air and added a rushing touchdown, rookie Ray Davis had 20 carries for 97 yards, and the Buffalo Bills survived the New York Jets 23-20.