In era-avl.js, fixed some brackets, and made some comments more consistent.