[TIDOC-860] Fix Global types in JSCA generator

Build JSCA file (from apidoc folder of titanium_mobile repo):
./docgen.py -f jsca -o ../dist