[js-flatten] Always use dot path for extern classes and enums (closes #2132)
Merge pull request #2326 from nadako/2132_dont_flatten_extern

[js-flatten] Always use dot path for extern classes and enums (closes #2132)