add es6sim for purescript compiler to use promise