Agree with stripping the $(), but you may want to use the $subFigureElem convention used elsewhere to indicate that it is a jQuery object