Bash Script Loop Through Array Javascript Push Syntax In Js