add global nav to javascript directory