Add full AMD load support

for RequireJS