added nav.js controller