Linux Bash If Variable Not Defined Javascript W3schools