Bean validation to javascript validation transformer