updates to quiz.js for images