new javascript for quiz