PGN parsing library for JavaScript