vote widget: refactoring and trying pure JSON way of posting data
vote widget: fix previous commit