Bash Script Match Regex Javascript Function Arguments