update docs.js for header nav