ZED to Javascript compiler