Update navigation.js

navigation function profile