adjust jscs settings, make it work with gulp, fix errors

jscs was not working because of bug in gulp-jscs, now it's working correctly.
fixed errors it was not catching before, mostly whitespace, trailing commas