A collection of Ruby-inspired JavaScript methods