Adding navigation and JS app functionality