Since you're using jQuery, one of the things you could do in your SearchBox's javascript constructor is something like this:
var SearchBox = function($element) {
$element.data("searchBox", this);
}
Then you could can easily retrieve this from jQuery again at a later point:
var sb = $("#myElement").data("searchBox");