Use RequireJS for test dependencies, and use domReady.