Added javascript for questions