Update sample-ext-filter.html

Update demo to demonstrate using a function call to perform the filtering.