added grunt file to check for JS error and a basic karma and jasmine test