we need the require statements, not the document ready part