added app.js file & written script for nav active classes