I started reading JavaScript: The Good Parts book and became confused at first pages (7 and 9 if be exact) by the railroad diagrams.
There are diagrams for the name
It looks like the name railroad diagram definitely has problems. As you say, a name can start with underscore, but the diagram precludes it, and dollar signs seem to be completely missing.
You're wrong about the string literals though, since "\"
is properly not allowed.
One for you, one for Crockford.