basic javascript loading of poll results