Update tripleclick.js

Fixes issue #2.

Also adds a $.tripleclickThreshold variable which allows you to set the window you listen for triple clicks for. This value is expected to be in ms.