Throttle: Only clear timeouts if they exist

Not sure if this is a real performance issue, but every call to clearTimeout is shown in Chrome Timeline.
Format fix
Merge pull request #1849 from tkristiansen/patch-1

Throttle: Only clear timeouts if they exist