Default Arguments for Functions

From http://css-tricks.com/snippets/javascript/default-arguments-for-functions/