Php Delete First In Array Javascript Append To Body