Php For Each Item In Array Javascript Append To List