Load voting functions onLoad