The `MouseEvent` constructor was introduced in [DOM level 3](http://html5labs.interoperabilitybridges.com/dom4events/#constructors-mouseevent) and this check tests if the `buttons` property is supported (since DOM level 4).