improvement of js template for table with result of quiz