register event listener on button; make search function a member of MapLassoSearch class