[javascripts] Add one page navigation