removed async from nav.js