Create answer using javacript