Loop through Javascript array and populate page with Riot.js