Utility library for functional programming in JavaScript