Add Promise support for IE/FireFox