added component in app.js for adding active class to links