Create foreign-sharing.js