moved javascript validations into locales