The Haskell base library, Prelude, partially rewritten in Javascript