create navigation.js