Target lays off 13,500. Invests in online and mobile commerce.