fix jqueryval errors
Fix localization issues