jQuery 1.9 compatibility

jQuery 1.9 compatibility