fix promises for safari 7.1
1.3.2