Remove dependency on riot.js