     elems = (FinderLsElem.new(key: "#{elem.realpath}", elem: elem, selected: @select(elem)) for elem in @props.ls)
     @div({className: "menu"}, elems)
 
+# Element of finder ls sub-option
 class FinderLsElem extends Reactable
   handleClick: (event, elem) ->
     event.preventDefault()

      finder_ls: []
      finder_path: []

  finder: (url) ->
    Api.doGet url, null, null, (ok, json) =>
      if ok
        @setState(finder_url: url, finder_ls: json.ls, finder_path: json.path)
      else
        console.error "ERROR failed to parse finder object", ok, json

  componentWillMount: ->

# `JobContainer` class that resembles Spark job to create, with all options
class JobContainer extends Reactable
  constructor: ->
    # State includes: name, (main) klass, driver memory, executor memory, delay, jar
    # Also features finder state (ls array, path array and current url accessed)
    @state =
      name: "#{Namer.generate()}"
      klass: "com.test.Main"
