Tiny functional library for javascript