Greatest Common Divisor

A javascript implementation of the Euclidean algorithm