add method

detect the DOM version of mouse events that the browsers support