Bash Read String Into Array Javascript Append To Body