add borader detection of mouse cursor, switch mouse event dispatch method
add borader detection of mouse cursor, switch mouse event dispatch method

luke-chang/ajax-websocket-test,luke-chang/ajax-websocket-test