Create navigation view to make nav work with js