working on making encrypt/decrypt work with cryptojs