js Post.updateVotes function; remove unuse assets