add some answer for js part