add js to add active to nav bar. define layout for blog and projects