Ashraf,
Are all these changes in ajax.js really required to fix this bug? Anyway it seems fine using 'this'.