Adding event preventDefault on toggleFeatured function