fixed typo in navigate.js