decouple nav.js from jQuery.