move nav.js script to header partial