JavaScript grammar edited to use eof, e, backup items
Now using JUnit test and SampleGrammars are moved to tests