A small collection of useful JavaScript functions in one place