UK retailer JJB Sports has been saved from a possible collapse by a vote in favour of company voluntary arrangements (CVA) proposals by creditors.