Simple poll js,ajax