streams database, emits score, renders average in browser