Added client script validation.