Reorganized the JavaScript parser generator. No functional change intended