Simple javascript for a referendum in Italy