cujo resource loader (CommonJS compatible AMD loader)