add direct requirejs support with amdefine