Javascript quiz from learning js properly