Added javascript to track search events in Google Analytics.