Did some of the main nav javascript.