Create pollservice.js