Jakarta index among world’s worst performers as slowing consumption and government spending rattle investors