Allow jsVar config and output locale/lang in js