Improve sample code

Fix base for `distinct` (should be `throttled`, was `keyups`);
remove unnecessary function expression.
Merge pull request #61 from knuton/patch-1

Looks good, thanks!