using javascript to highlight the correct menu item