Moved Nav loading to JS file