function asyncLoadAllEarlierMessages(id, done) {
  loadAllEarlierMessages(id);
  done();
}
SYNC version
Loads all earlier messages of given chat id
@param {string} id Chat id
@param {Funciton} done Optional callback