Thanks for the reply!
I know this would be a problem, but I was planning to if I could solve this some way or another, but maby its not possible.
The problem now is that the event is not triggered at all. If I do an alert
onInitializeSearch : function() {