remove extraneous insertBefore call, already handled by waitForData check and onDataInserted assignment later