Rack endpoint to make templates and i18n translations available in javascript