Bug 943681 - Convert to Promise.jsm in the webconsole. r=msucan