 
             fixedSourceMap = new SourceMap.SourceMapGenerator file: ""
             new SourceMap.SourceMapConsumer(result.v3SourceMap).eachMapping (mapping)->
-              if mapping.generatedLine > 1 && mapping.originalLine > 0
-                fixedSourceMap.addMapping
-                  generated:
-                    line: mapping.generatedLine - 1
-                    column: mapping.generatedColumn
-                  original:
-                    line: mapping.originalLine
-                    column: mapping.originalColumn
-                  source: file.includePath
+              fixedSourceMap.addMapping
+                generated:
+                  line: mapping.generatedLine - 1
+                  column: mapping.generatedColumn
+                original:
+                  line: mapping.originalLine
+                  column: mapping.originalColumn
+                source: file.includePath
             jsSourceMap = fixedSourceMap.toJSON()
 
             if file.includePath.indexOf("Framework") == 0

          source: file.includePath
      js += file.content + "\n"
      lineOffset += contentLineCount
    js += "}).call(this);\n//@ sourceMappingURL=/" + @config.client.js + ".map"

    fs.writeFileSync @config.client.websitePath + "/" + @config.client.js, js
    fs.writeFileSync @config.client.websitePath + "/" + @config.client.js + ".map", sourceMap.toString()

  buildCSS: (options)->
    code = ""
    for file in @styles
      code += file.content+"\n"
    fs.writeFileSync @config.client.websitePath + "/" + @config.client.css, code

  buildHTML: (options)->
    index = fs.readFileSync @config.client.includesPath + "/" + @config.client.indexMaster, 'utf-8'

    return true

  buildJS: (options)->
    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
