change height of iframes as content loads

This is so that dynamic modules in side bars etc, loaded in iframes, adjust to the size of their content. The way I've included the Javascript files might well not be the best way to do it in Rails. I await correction.