Fixed a few warnings
Allow build/test with Grunt