Per @jamietre comment [here](https://github.com/jamietre/ImageMapster/issues/273#issuecomment-279745324), to minimize the changes required to support NPM, etc. when.js should be removed and replaced with native promises.