Reformat files & use hosted jQuery

Most commits just move things around.  The last one switches to using the jQuery copy hosted publicly by Google.