I've been on the hunt for a JS/CSS packager/organizer for static based sites. @jeffwatkins sent me to http://github.com/jeffwatkins/distil, but I'd like a solution that doesn't rely on ruby and uses json for its config files. Here's the the sample use I've worked out.
As for the packager part, it would be nice to use Nodejs, but for portability Rhino probably is more sensible. Since this doesn't seem to exist, looks like I need to get my hands dirty.