Nav steps javascript