Just a bunch of JavaScript snippets while I'm learning the language.