Update udid2.js

Add MIT license, explain purpose and that Sha1.hash is needed