[requirejs wrapper] define logic for requirejs, and execute it when requirejs is loaded