Restore jQuery variable