Added all js functionality. Added voted column to Race model, will be marked true when voter has voted in particular race.