Fix operator precedence of '.' operator in js grammar
Add regex postfix flags to javascript grammar

- Refactor statement terminators in javascript grammar
- Reorganize javascript language tests
Fix expected symbol count in lr parser