starting the js base code for the quiz manager