refactored navigation and skills js to load properly