Asian markets end Wednesday in negative territory