Update documentation to make clear that data-main script is loaded async

closing #806