nested require call for global dependencies
reorganized vendor scripts