add bluebird js snip