L20n implementation in JavaScript