[TIDOC-860] Fix Global types in JSCA generator
Merge pull request #5605 from bhatfield/tidoc-860

[TIDOC-860] Fix Global types in JSCA generator