Use local SHA1 algorithm

Rather than having browserify include the entire crypto module, use
a local version that doesn't come with excess baggage.