Enums were not created for JS if SUPPRESS_CONST_OBJECT