attachEvents is now on the prototype