To produce a packed MochiKit.js file: 1. Get a svn checkout of MochiKit. 2. Run: python scripts/pack.py 3. The packed MochiKit.js will be in packed/MochiKit/MochiKit.js To remove top-level modules: 1. Edit the list MochiKit.MochiKit.SUBMODULES that is in MochiKit/MochiKit.js 2. Run pack again. We're currently using a packed MochiKit.js that includes: "Base", "Iter", "Logging", "DateTime", "Async", "DOM", "Style", "Signal", And excludes: "Format" "Selector" "LoggingPane" "Color" "Position" "Visual" This takes the size of MochiKit.js that we serve down from 172598 bytes to 97200 bytes.