Moved things around into more discrete sections.  Updated javascript snippets :)