Topic: Output generated XAJAX Javascript to JS file instead of PHP?

A quirky question has come up and I'm wondering if it's possible to do something this crazy with XAJAX so that the JS lives in an included file rather than in the page that uses it.