a self-contained javascript lib to render sgf animation