instead of passing all messages just pass messages that javascript could use.
Merge pull request #466 from ORCID/dev-makeI18nJsSmaller

instead of passing all messages just pass messages that javascript could...