enhance js navigation