updated deprecated $.format to use $.validator.format (jquery 1.11, validate 1.12)