find . -name '*js2*' | while read f; do git mv "$f" "${f/js2/js3}"; done
find . -type f | while read f; do mv "$f" "$f~"; sed 's/js2/js3/g' "$f~" > "$f"; rm -f "$f~"; done