trim query so whitespace doesn't trigger search
use batch.json to load all icons