Fix for IE7, 8 compatibility on jQuery 1.7.2 & up.