Bash is great, but when it comes to writing scripts, people usually choose a more convenient programming language. JavaScript is a perfect choice