locale*.*.yaml to javascript