Fix examples for creating new CapabilityFilter.

Remove console.log statements.