fix voting and remove unused jquery reference