JS fix for Bootstrap nav active class