added js to navigate
documentation