Archimedes' Algorithm in Javascript

I was learning about Javascript recently, and decided to do something with it. Somehow, the only thing I ever really learned to do properly and could put in a program was math. Well, here's another neat way of calcualating pi. This page uses Archimedes algorithm for calculating pi. Each click on the button does one itteration.