Javascript implementation of Karatsuba's.