use deps array for resolver instead of internal requirejs hash
Using ember's Array.contains instead of es5's Array.some
can't guarantee that 'contains' is defined