A collection of potentially useful JavaScript functions.