Get the tests the pass.

Remove dependency on jQuery.
Remove tests that don't work.