Account for Promise support in Safari 7.1