support for attachEvent & ActiveXObject added in js file