The site of a former brickworks in Barnsley will be converted into a new glass recycling facility, after plans were given the go-ahead this week.