A functional JavaScript library