An AMD implemention for nce with requirejs