Added ajax to create votes and destroy links