adding js for menu.js