Update ready.js

Add IE support in jQuery.ready.promise. 

When you use jQuery in a big html file, the loading is very slow, and the function jQuery.ready.promise is used. This function call addEventListener, and it don't work on IE . I added the equivalent function attachEvent.