detecting when ruby and python binaries finished loading

Dec 30, 2010 at 8:16 AM

I know that when a user visits a gestalt application for the first time, the ruby and/or python binaries are downloaded in the browser cache. How do I know when the browser finished downloading the binaries?