changed wrapper to return jquery object when the method returns nothing