widgetMethod should return JSRef