(Bug 4923) Remove obsolete JS. Remove jQuery beta checks

Not all non-jquery JS files have been removed; some of them are still being on
site-skinned pages elsewhere. Still, this is a start.