Update js/navigation.js

my initial mods (added parameters, shuffled things around)