make sure es6-promise is available.