Fix "binarySearch" attribute throwing toLowerCase() error in jquery 1.7....

...X

For-in loop in getBody method throws an error with prototype child, looping on attrs.length fixes issue