Find all files with the extension .js in the current directory and its subdirectories, and copy them to the ~/backup directory with the same name but with the extension .bak, without overwriting existing files.
find ~ -name '*.js' -exec cp -n {} ~/backup/{}{.bak} \;