Adding alternate example usingjQuery .extend