Incorporated RequireJS. Huge refactoring.