Use latest jsonld.js; upgrade to ES6 Promise API.