Messing with javascript to set the menu right.