improve search.js readability, handle search event (webkit search clear button)
improve search.js readability, handle search event (webkit search clear button)

winmillwill/packagist-bundle,winmillwill/packagist-bundle