libphonenumber-js: format and validate phone numbers