Moved domReady down as it s not a param to require function callback