Support AMD (requirejs)