     class_cache = {}
     "Cache cleared."
   ls: (args) ->
-    (node.fs.readdirSync '.').sort().join '\n'
+    node.fs.readdirSync('.').sort().join '\n'
   edit: (args) ->
     data = if args[0]? then DoppioFile.load(args[0]).read() else defaultFile
     $('#console').fadeOut 'fast', ->


commands =
  javac: (args, cb) ->
    unless RELEASE?
      return "Usage: javac <source file>" unless args[0]?
      return compile_source args[0], cb
    rs = new runtime.RuntimeState(stdout, user_input, read_classfile)
    # hack: use a special class name that won't clash with real ones
    jvm.run_class(rs, '!javac', args, -> controller.reprompt())

    console.error errorThrown
}

$.ajax "third_party/classes/sun/tools/javac/Main.class", {
  type: 'GET'
  dataType: 'text'
  beforeSend: (jqXHR) -> jqXHR.overrideMimeType('text/plain; charset=x-user-defined')
  success: (data) -> class_cache['!javac'] = process_bytecode data
}
$.ajax "third_party/classes/com/sun/tools/script/shell/Main.class", {
  type: 'GET'
  dataType: 'text'
  beforeSend: (jqXHR) -> jqXHR.overrideMimeType('text/plain; charset=x-user-defined')
  success: (data) -> class_cache['!rhino'] = process_bytecode data
}

try_path = (path) ->
  # hack. we should implement proper directories
