allow plugin to auto-detect a jQuery query result