Some fixes needed due to newer grunt versions

Again, I've never done this before so I hope I am doing this right. I noticed some small errors which were easy to fix.
I hope you accept my contribution ;-)