fix javascript to display next quesitons