Common Javascript utility functions that I have used in the past and may need in the future.