feature: script resolve dependency order
bug: tests with script loads fail in grunt mocha