Minor bugfix to quiz js