any pro in js could give me some advice?