J.C. Penney looks on bright side following third-quarter loss