Bash Script Return Value From A Javascript