Compatibility with jQuery 1.5 and below.