     return true
 
   buildJS: (options)->
-    js = "var KD = {}; KD.config = " + JSON.stringify(@config.client.runtimeOptions) + "; (function(){ "
+    js = "var KD = {}; KD.config = #{JSON.stringify(@config.client.runtimeOptions)}; (function(){ "
     lineOffset = 0
     sourceMap = new SourceMap.SourceMapGenerator file: @config.client.js, sourceRoot: @config.client.runtimeOptions.sourceUri
     for file in @scripts

    @compileChanged options, true

  compileChanged: (options, initial)->
    changed = @readIncludesFile()

    bar = new ProgressBar 'Building client... [:bar] :percent :elapseds', {total: @files.length, width:50, incomplete:" "} if initial
    for file in @files
      changed |= @compileFile file
      bar.tick() if initial
    console.log "" if initial

    if initial or changed
      @buildJS options
      @buildCSS options
      @buildHTML options
      log.info "Done building client."
      if require("os").platform() is 'linux'
        exec "notify-send \"Koding instance updated\""

    if @config.client.watch is yes
      log.info "Watching for changes..." if initial

        log.error "File name case is wrong: " + includePath
        process.exit 1

      switch file.extension
        when ".coffee", ".js"
          @scripts.push file
