added browser detection

Safari 6 has a known issue encrypting and decrypting BIP38.