The struggling online retailer adopts Debenhams' success as a blueprint to revive its business and reposition itself in a competitive market.