jshint and jasmine added
group validation