A functional js library