I want to use the Ace editor to save and edit javascript files it\'s not clear in the documentation how to do that.
Ace editor is only the UI part of the editor. Think of it as: like a textarea but cool!
.
To deal with files you need some kind of server that will read and save the files and will send the text to the webpage where Ace lives. (You can also use html5 filesystem api, but that only works on chrome).
You can find many interesting implementations of this in Zed source code at https://github.com/zedapp/zed/tree/master/app/js/fs, which is a code editor based on Ace.