Javascript translator/interpreter