JavaScript Illustration -- Calculate Factorials