 
 extension_map =
   '.txt': ASCIIMapping
+  '.js': JSMapping
   '.coffee': CoffeeMapping
   '.asc': ASCIIDrawing
   '.ssv': SSVDrawing

path = require 'path'
fs = require 'fs'
csvParse = require 'csv-parse'
xmldom = require 'xmldom'
DOMParser = xmldom.DOMParser

        key = line[...separator.index]
      value = Symbol.parse key, line[separator.index + separator[0].length..]
      map[key] = value
    new @ map

class JSMapping extends Mapping
  @parse: (data) ->
    new @ eval data

class CoffeeMapping extends Mapping
  @parse: (data) ->
    new @ CoffeeScript.eval data

class Drawing extends Input
  tileWidth: 50
