Demonstrates Greatest Common Factor via Euclidean Algorithm implemented in JavaScript