Puts nav elements in nav and ul