add click function for search
Merge pull request #6 from daveism/gh-pages

add click function for search