Javascript implementations of "Functional" concepts