Php Loop Through Object Properties Jquery Validation Js