Php Loop Over Enum In Javascript 1757 Battle