Created constructor jsQuiz and placed all methods within prototype jsQuiz. Call jsQuiz object in window.onload function. Initialise allQuestions array within window.onload function