Detect DOM instances by constructor function instead of XPCOM interface
Drop support for Firefox 30 and older versions