fixed cryptojs mac bug with ArrayBuffer