htmlBoard-anim-NL: refactoring