This is a hacked about version of Ryan Grove's original Ruby port of jsmin that addssupport for generating a source map, using the source_map gem
Conrad Irwin
gem "source_map-jsmin", "~> 0.1"