add rails ajax to voting