fixed cryptoJS not defined