add new option sendOnlyOnDomReady