My company has `<script>` tags on a lot of sites, some of these sites have very high page ranks. 

Right now the `<script>` tags have a `src` of Microsoft's blob data.

We want to move away from Microsoft's blob data storage and use a full blown CDN. If we use Microsoft's CDN we could set it up to use their URL (msecnd.net) or use our companies URL. 

There are some technical benefits to using Microsoft's URL (https support), but if we use our URL, could Google see this as any type of inbound link to our site?

Is there any other way my companies search rank could benefit from having our script tags on high ranking sites? 

obviously doing something like `document.write('<a href=mysite.com>')` in the script file could work, but would not be good practice.

Thanks,