AGJS-247: added Promise shim to DataManager example