Translates Python to Javascript on the fly