Fix https://github.com/matthiasmullie/minify/issues/11

Meanwhile, fix some whitespace
Use backreference instead of callback function