Twofish (ECB and CBC) javascript implementation