Fixes the glitchy js in the quiz endpoint