updated navbar, fixed the bug of jquery