Find all files with the extension .js and replace the word "this" with "that" in each file, creating a backup of each file with the extension .bak.
find . -name "*.js" | xargs sed -i.bak 's/\bthis\b/that/g'