add q1 answer in javascript