Use when.js as a dependency for the Promise, shim wouldn't built with r.js