What is the preferred syntax for defining enums in JavaScript