Adaptor for Ractive.js to support promises