Php Loop Over Enum In Javascript Alert