Linux Bash If Variable Not Defined Javascript Array Splice Method