Add navigation toggle javascript