adding nav.js

Missing file.