Add jscs code validation. Fix code warnings.