Use  defer promises for the Tumblr.js