Add some tests for jQuery.isWindow and make sure that we're operating against an object before testing.
Attach a file by drag & drop or click to upload