Translate working with js.

For #20