mainFigureElem is already a jQuery object