This may serve as an example of what you can do with this form of remote scripting.
In this page I used the Remote Scripting object to import all the necessary javascript
from the server. The only code you'll see if you load the sources is the object
code (rs.obj) and the onload handler that imports the rest of the client side javascript
code from the server.