Add $d.on method (supports event lists instead of vanilla addEventListener).