correction in favoritesquestion.js