Php String Loop Through Json Javascript Example File