added ajax for voting, removed redundant test files