Replaced Bash script by shebang in JS script