Fixed enums for squatch.js mode