Python to JavaScript Translator