Bash Pass Associative Array Javascript Example