Updated the script.js to fix the navigation bar.