Fixed javascript on main menu. Now displays first name edit link and avatar