Compatibility with latest Amazon and latest deferreds.js