Added initial support for Javascript Enums