Checkpoint for js