Allow otr and CryptoJS to not be defined.

Will allow builds without OTR functionality.