Changed way promise library is specified to be less, well, crap.