put translation javascript code in separate file

That should work and hide our key.
@hennevogel ?