Updating navigation HTML and JS to use new position field.