Working on quiz app js and creating functions