Add js code for quiz