Update sha1.js

utf8_encode function not exists by default.