Jakarta Composite Index closed 0.4% lower at 8,241 after hitting an intraday record high, as global markets turned cautious.