Handle DOM-events FP-style
npm install fd-listen --save
var listen = require('fd-listen');
var select = require('fd-select');
var onClick = listen('click');
var onClickSetClicked = onClick((event) => {
event.target.innerHTML = 'clicked';
});
onClickSetClicked(select('.link'));