trim entered date in default citation js