Change MOD_FOLDERGALLERY to MOD_FOLDERGALLERY_JQ.