Update navigate.js

add the option timeout that was problematic for very slow connections