Bash Create Empty Array Js Find