Passing $ to autoExpand callbacks