A set of useful helper functions for javascript programming.