Added Javascript enums, which fixed questionTypes.