J.C. Penney is closing up to 140 stores to 'effectively compete against the growing threat of online retailers'