I like Javascript, but this is not something I'd use it for. Better to have different versions of the page, one for each language, or generate the page dynamically depending on which language is chosen. Javascript is feasible, assuming a limited number of languages and words per page, but people aren't going to want to have to mouseover to read the page in their own language.