Fixed grunt build error.
Now, karma does not fail.
I just needed to install a few deps.
Installed atom beautifer and used it on this file.