checkpoint in loading JS