rewritten grunt in coffeescript and taken just what was needed