Update sha1.js

AMD support
Merge pull request #1 from markotom/master

Update sha1.js