I want to see the differences of 2 files that not in the local filesystem but on the web. So, i think if have to use diff, curl and some kind of pi
diff
curl
The UNIX tool diff can compare two files. If you use the <() expression, you can compare the output of the command within the indirections:
<()
diff <(curl file1) <(curl file2)
So in your case, you can say:
diff <(curl -s http://to.my/file/one.js) <(curl -s http://to.my/file.two.js)