Is there a JavaScript function that reduces a fraction Is there a JavaScript function that reduces a fraction javascript javascript