xitar for teach in javascript