jQuery 1.9 fixes

This should be enough to satisfy the upgrade; I couldn't find anything
else that was an issue according to the upgrade guide.

Change-Id: I12a408f2faf46527c6561471a38a632d4de91e3c