Update navigation.js

beautified