Translator for node and for browser