added validation for new fields in translations
fixed bug when delete translation, fixed issues with jshint