add js for navigation and footer.