Option for update event

One more minor update.

Allows you to specify whether you want to update on `slide` (default) or `slideStop`, since you might not want continuous updates while dragging the slider.

PS. How do you feel about converting the hard tabs to spaces? I feel like soft tabs are generally more editor-friendly. I can fix that indentation issue if you'd like to keep the hard tabs, no big deal.