Move navigation js into it's own file.