WIP: integrate jasmine-as-promised