Bash Loop Through Array Javascript Function