A collection of useful JavaScript functions.