added code fallbacks to prevent JS errors if feed is not available