Provide configurable search default function

Helps unclutter the DOM