Asian markets follow Wall St up but on track for annual loss