Completed the quiz javascript