Refactor - Loading navbar with JQuery