Simple javascript to automatically set active class on links in Bootstrap