encapsulate coffeescript-editor into its own file
refactor: editor files into their own subdirectory
refactor and cleanup: encapsulated javascript editor