Updated js that threw error on poll feed items