Awesome helpful functions and snippets from Douglas Crockford's "Javascript: The Good Parts"