Javascript code to visualize EBNF metasyntax notation.