Implement actual translation ability for JS client