longpress(Function, ClickFunction[Time], Time)

The known bug  is once you long press it, 

the click event will still be trigger, so now .longpress() supported "LongPressed" & "Click" callback,

for example: $('#test').longpress(LongPressed, JustClick, 2000)