Introduce riot.js for events, and remove unused async