Bash Export Array Variable Javascript Playground