Using grunt + QUnit + jshint for unittest and quality control