created custom js to add active class to navigation