Menu related code refactored do single js file: js/menu.js (from js/nav.js)