Bash Script Match Regex Javascript Replace Innerhtml