Bug 984809 - Remove deprecated promise.js usage in B2G. r=ochameau