Fixed attachEvent not prepending with 'on'.