Fix typo in dom#on method