updated tests and reverse to work with jQuery 1.9. Mostly replacing $.fn.live with $.fn.on