Don't model define('moduleName', function (){require('...');}); as a relation.
flattenRequireJs: Don't skip initial JavaScripts that have outgoing JavaScriptAmdDefine, JavaScriptShimRequire, or JavaScriptRequireJsCommonJsCompatibilityRequire relations (but no JavaScriptAmdRequire).
Update jsdom to 0.6.1.
flattenRequireJs: Don't attempt to detach relation types that don't support it.