Minor cleanup (unneeded parens and braces)
Get rid of genCallHelper in GenJSCode
Improve state management in GenJSCode
Merge pull request #519 from gzm0/various-cleanups

Various cleanups