flag whether is script already appended to body