First atempt to save / load javascript files. Relies on the webapp
invoking AWT FileDialog, which is just a quick solution, but hopefully
provisory