[Cleanup] navigate.js