changed Local -> local; changed nodeStyleCb to promise.cb