javascript torus generated with asc2js util