Code quality checks added

Added tool
https://github.com/gustavohenke/grunt-jscs-checker/
and adjusted files to pass quality tool