Update compatibility with jQuery<=1.7 (1.9 and beyond)