Added navigation JS to inner pages.