Risk findAll fix for new collection format plus porting over fixes to mustache_helper.js from Rails