refresh poll, fix jshint