Leyton Orient have agreed to extend the loan deal of Burnley midfielder Marvin Bartley until January.