http://codeincomplete.com/posts/2012/6/22/javascript_racer/
I would agree with the comments that you could charge more (certainly for the longer tracks)