fix require references for cryptojs