Javascript Utility Functions for when your existing tool belt turns out to be too slim.