choping election_base into pieces - moving client-side templates to another file