js/navigation.js uncaught ref