search now clears on empty input
appendResults only appends if current query exists
fixes global variable and white space
Merge pull request #26 from jonjchew/empty-input

Empty input