finished all the tests plus update to jquery to 2.1.1

Still want to go through all the files tomorrow and make sure that it is
coded right. Some of the tests are passing, but at the time I probably
didn't understand them right, so I wrote code that passes from reading
the expectations, but I am not sure that it is doing the intended thing,
since there is no specification of the problems.
Added comments