jQuery plugin. Perform mouse event. Distinguish "click" event and "double click" event.