added promise to npm and bower