Bash Export Array Variable In Javascript