Store quiz values in javascript