Javascript Notes
// check type typeof "foo" typeof(x) window.document.location // is obsolete (or deprecated at the very least) window.location // use this instead.