Update js/editor.js

Capture Ctrl+S to save the files in the Editor.