remove $.browser because it was removed in jQuery verison 1.9.  Since I don't know the reasoning behind tihs check I wasn't able to replace it with anything
replace .live (removed in jQuery 1.9) with .on (added in 1.7)