Translate working with js.

To close #20